package com.heo.coder.packet;

import com.heo.coder.packet.base.BasePacket;

public class SocketPacket extends BasePacket{

	public SocketPacket(String lengthStr, int bodyLength,
			 String check, String control, String body) throws Exception {
		super(lengthStr, bodyLength, check, control, body);
	}
	
	@Override
	public String getPacketBody() {
		return super.body;
	}
	
	@Override
	public String toString() {
		return "SocketPacket: [" + control + "] [" + START_MARKER_LENGTH_CODE + getLengthStr() + getCheck() + getControl() +  getBody() + "]";
	}

}
